package com.jky.stmall.manger.service;

import com.jky.stmall.manger.entity.Admin;

public interface AdminService {
    Admin login(Admin admin) throws Exception;

    /**
     * 修改密码
     * @param id
     * @param oldPassword
     * @param newPassword
     * @param rePassword
     * @return
     */
    Admin modifyPwd(Integer id,String oldPassword,String newPassword,String rePassword) throws Exception;

    Admin edit(Admin admin)throws Exception;

}
